namespace GameSystem
{
	public class HeartMsg : BaseMsg
	{

		public override int GetBytesSize()
		{
			int num = 8;
			return num;
		}
		public override byte[] Writing()
		{
			int index=0;
			int sendLen=GetBytesSize();
			byte[] bytes = new byte[sendLen];
			WriteInt(bytes, GetID(), ref index);
			WriteInt(bytes, sendLen-8, ref index);
			return bytes;
		}
		public override int Reading(byte[] bytes, int beginIndex=0)
		{
			int index = beginIndex;
			return index - beginIndex;
		}
		public override int GetID()
		{
			return 1002;
		}
	}
}